﻿using SqlSugar;
using static DataModels.Enums.GeneralEnum;

namespace DataModels.Entities.NeighborCircle
{
    /// <summary>
    /// 邻里圈子论坛帖子二手交易子表
    /// </summary>
    [SugarTable]
    public class NeighborCircleForumPostSecondHand
    {
        [SugarColumn(IsPrimaryKey = true)]
        public Guid UUID { get; set; } = Guid.NewGuid();
        
        /// <summary>
        /// 二手交易帖子UUID
        /// </summary>
        public Guid NeighborCircleForumPostUUID {  get; set; }

        /// <summary>
        /// 同意后发送的信息
        /// </summary>
        public string ExtendJson { get; set; }


        /// <summary>
        /// 交易完成标记
        /// </summary>
        public Status Status { get; set; } = Status.Disable;

        /// <summary>
        /// 删除标记
        /// </summary>
        public Status IsDeleted { get; set; } = Status.Disable;

        public DateTime CreateTime { get; set; } = DateTime.Now;
        public DateTime? UpdateTime { get; set; }

        public Guid CreateUserUUID { get; set; }

        public Guid? UpdateUserUUID { get; set; }
    }
}
